﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Architecture;

namespace YArchitech.Revit.RevitExtension
{
	public static class RevitRoomExtension
	{
		public static Level GetLevel(this Room revitRoom)
		{
			return revitRoom.Document.GetElementById(revitRoom.LevelId) as Level;
		}
	}
}
